package inheritance;

public class Test1 {
	public static void main(String[] args) {
		Person p = new Teacher();
		p.print();
	}
}
